package com.qdu.mapper;

import com.qdu.entity.Orderinfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderinfoMapper {
    int deleteByPrimaryKey(String oid);

    int insert(Orderinfo record);

    int insertSelective(Orderinfo record);

    Orderinfo selectByPrimaryKey(String oid);

    List<Orderinfo> selectByUid(String uid);

    List<Orderinfo> selectByHid(String hid);

    int updateByPrimaryKeySelective(Orderinfo record);

    int updateByPrimaryKey(Orderinfo record);
}